package voxbox.wrapper;

import processing.core.PVector;

import com.sun.jna.Structure;

public class VoxiPoint3d extends Structure {

	public float x, y, z;
	
	public VoxiPoint3d() {
		setAlignType(Structure.ALIGN_NONE);
	}

	public VoxiPoint3d(float xx, float yy, float zz) {
		setAlignType(Structure.ALIGN_NONE);
		x = xx;
		y = yy;
		z = zz;
	}
	
	public VoxiPoint3d(PVector vector) {
		setAlignType(Structure.ALIGN_NONE);
		x = vector.x;
		y = vector.y;
		z = vector.z;
	}
}